package com.ebo.synframework.synroom.executor;

import com.ebo.synframework.synroom.executor.pool.PoolState;

/**
 * 继承该接口的对象，需要定义构造函数为
 * public TakeTurnsPoolSelector(PoolState[] pools, PoolProperties poolProperties)
 * @author snake
 *
 */
public interface ThreadPoolSelector {
    
    public int selectPool();

    void setPoolsState(PoolState[] pools);
}
